<div class="ibox">
<div class="ibox-content">
<form class="form-horizontal">
           <div class="form-group">
         <label for="namebasic" class="col-md-2 control-label">${_res["gtask.taskname"]}<span class="fontColorRed">&nbsp;*</span></label>
         <div class="col-md-3">
          	<p class="form-control-static">${gTask.taskname!}</p>
         </div>
         <label class="col-md-2 control-label">${_res["gtask.active"]}<span class="fontColorRed">&nbsp;*</span></label>
            <div class="col-md-3">
               <#dict type="select"  class="form-control" name="gTask.active"  value="${gTask.active!}" dictCode="COMMON_STATUS" disabled="true"/>
            </div>
      </div>

      <div class="form-group">
         <label class="col-md-2 control-label">${_res["gtask.command"]}<span class="fontColorRed">&nbsp;*</span></label>
            <div class="col-md-3">
               <#dict type="select"  class="form-control" name="gTask.command" value="${gTask.command!}" dictCode="TASK_COMMAND" disabled="true"/>
            </div>
            <label class="col-md-2 control-label">${_res["gtask.period"]}<span class="fontColorRed">&nbsp;*</span></label>
            <div class="col-md-3">
               <#dict type="select"  class="form-control" name="gTask.period" value="${gTask.period!}" dictCode="TASK_PERIOD" disabled="true"/>
            </div>
      </div>
      
      <div class="form-group">
            <label class="col-md-2 control-label">${_res["gtask.arguments"]}</label>
            <div class="col-md-8">
               <p class="form-control-static">${gTask.arguments!}</p>
            </div>
      </div>
      
      <% if(gTask.period == 1){ %>
      <div class="form-group">
      		 <label for="namebasic" class="col-md-2 control-label">${_res["gtask.ss"]}<span class="fontColorRed">&nbsp;*</span></label>
         <div class="col-md-3">
          	<p class="form-control-static">${gTask.ss!}</p>
         </div>
      		 <label for="namebasic" class="col-md-2 control-label">${_res["gtask.mi"]}<span class="fontColorRed">&nbsp;*</span></label>
         <div class="col-md-3">
          	<p class="form-control-static">${gTask.mi!}</p>
         </div>
      </div>
      
      <div class="form-group">
      		<label for="namebasic" class="col-md-2 control-label">${_res["gtask.hh"]}<span class="fontColorRed">&nbsp;*</span></label>
         <div class="col-md-3">
          	<p class="form-control-static">${gTask.hh!}</p>
         </div>
      		<label for="namebasic" class="col-md-2 control-label">${_res["gtask.dd"]}<span class="fontColorRed">&nbsp;*</span></label>
        <div class="col-md-3">
          	<p class="form-control-static">${gTask.dd!}</p>
        </div>
      </div>
      
      <div class="form-group">
      	   <label for="namebasic" class="col-md-2 control-label">${_res["gtask.wk"]}<span class="fontColorRed">&nbsp;*</span></label>
           <div class="col-md-8">
          	<#dict type="checkbox" name="gTask.wk" value="${gTask.wk!}" dictCode="COMMON_WEEKS" disabled="true"/>
           </div>
      </div>
      
      <div class="form-group">
      		<label for="namebasic" class="col-md-2 control-label">${_res["gtask.mm"]}<span class="fontColorRed">&nbsp;*</span></label>
         <div class="col-md-8">
          	<#dict type="checkbox" name="gTask.mm" value="${gTask.mm!}" dictCode="COMMON_MONTHS" disabled="true"/>
         </div>
      </div>
      <% } %>
      
      <div class="form-group">
      		<label for="namebasic" class="col-md-2 control-label">${_res["gtask.startdtm"]}<span class="fontColorRed">&nbsp;*</span></label>
        <div class="col-md-3">
          	<p class="form-control-static">${gTask.startdtm!}</p>
        </div>
        <label for="namebasic" class="col-md-2 control-label">${_res["gtask.enddtm"]}<span class="fontColorRed">&nbsp;*</span></label>
        <div class="col-md-3">
          	<p class="form-control-static">${gTask.enddtm!}</p>
        </div>
      </div>
      
      <div class="form-group">
         <label for="namebasic" class="col-md-2 control-label">${_res["gtask.emailreminder"]}</label>
         <div class="col-md-3">
          	<p class="form-control-static">${gTask.emailreminder!}</p>
         </div>
         
      </div>
      
      <div class="hr-line-dashed"></div>
      
      <div class="form-group" style="display:none">
         <label for="namebasic" class="col-md-2 control-label">${_res["gtask.lastrundtm"]}<span class="fontColorRed">&nbsp;*</span></label>
         <div class="col-md-3">
          	<p class="form-control-static">${gTask.lastrundtm!}</p>
         </div>
         <label for="namebasic" class="col-md-2 control-label">${_res["gtask.nextrundtm"]}<span class="fontColorRed">&nbsp;*</span></label>
         <div class="col-md-3">
          	<p class="form-control-static">${gTask.nextrundtm!}</p>
         </div>
      </div>
           
      <div class="form-group">
         <div class="col-md-10 col-md-offset-2">
           <button type="button" class="btn btn-warning" onClick="ajaxContent('/platform/task/list')">${_res["system.return"]}</button>
         </div>
      </div>          
</form>
</div></div>
<#nav />